Skip to content

Fixed AndroidPort: SerialPort.class.getDeclaredConstructor() requires…#627

Open
kolchagov wants to merge 1 commit intoFazecast:masterfrom
kolchagov:master
Open

Fixed AndroidPort: SerialPort.class.getDeclaredConstructor() requires…#627
kolchagov wants to merge 1 commit intoFazecast:masterfrom
kolchagov:master

Conversation

@kolchagov
Copy link
Copy Markdown

… 9 parameters instead of 8, which causes internal exception. The fix allows jSerialComm to work on newer Android versions. Tested with Android 12

In SerialPort: Skip "su/chmod" when androidPort is already set (USB serial path handles open itself)
Added constructor SerialPort() with 8 parameters for backward-compatibility.
Optional: Changed tag in pom.xml to 8 for successful compilation with recent JDK

… 9 parameters instead of 8

In SerialPort: Skip "su/chmod" when androidPort is already set (USB serial path handles open itself)
Added constructor SerialPort() with 8 parameters for backward-compatibility.
Changed <release> tag to 8 for successful compilation with recent JDK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant